package com.ftg.product.shoumai.service;

import com.ftg.product.shoumai.mapper.OrderMapper;
import com.ftg.product.shoumai.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zwl
 * Create on 2019/8/23 15:57
 * function
 */
@Service
public class OrderService {
    @Autowired
    OrderMapper ordermapper;
    public List<Order> showall(Order PageH){
        List<Order> list=ordermapper.showall(PageH);
        return list;

    }
    public int insert(Order order){
        return ordermapper.insert(order);
    }
}
